source /usr/local/bin/virtualenvwrapper.sh
source /opt/django_bash_completion 

alias r="rm -rf"
#http://harts.net/reece/2011/07/03/using-virtualenv-pip-and-ipython/
alias i="ipython"
alias ai="sudo apt-get install -y"
alias pi="pip install"

#DJANGO STUFF

# django-admin.py -> dj[TAB]
alias pm="python manage.py"

#update myself
alias ue="source /opt/myenv/linux/add_to_dot_bashrc.sh"

#http://stackoverflow.com/questions/4806448/how-do-i-install-from-a-local-cache-with-pip
export PIP_DOWNLOAD_CACHE=$HOME/.pip_download_cache


#it must be place after all alias defined
# ex)
#    alias da="django-admin.py"
#    da <tab> then, [auto complete alias]
source /opt/myenv/linux/autocomplete_alias.sh

echo "add_to_dot_bashrc.sh -> complete"
